package com.epam.weblibrary.service.book;

import com.epam.weblibrary.entities.book.Book;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * Created by Iurii_Miedviediev on 9/12/2014.
 */
public interface BookService {
    List<Book> findAll();
    List<Book> findAllAvailable();
    Book find(Long id);
    Book save(Book book);
    void delete(Long id);
    Page<Book> getBookPage(Integer pageNumber);
}
